package com.blogSystem.article.client;

import com.blogSystem.article.pojo.Like;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("blog-system-type")
public interface BaseClient {

    @RequestMapping(value = "/type/matching_list", method = RequestMethod.POST)
    public List<String> getList(@RequestParam String user_id);

    @RequestMapping(value = "/type/record",method = RequestMethod.PUT)
    public void record(@RequestParam String user_id, @RequestParam String type_id);



}
